package cn.hyq.basic.query;

import lombok.Data;

@Data
public class BaseQuery {
    //每页展示条数
    private Integer pageSize = 5;
    //当前页
    private Integer currentPage = 1;

    //关键字查询接收字段
    private String keyword;

    public Integer getStart(){
        return (this.currentPage-1)*this.pageSize;
    }

}
